package com.xbongbong.pro.sheet.pojo;

import com.xbongbong.paas.domain.entity.ext.ConditionsEntityExt;
import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.saas.domain.entity.ext.PaymentSheetEntityExt;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 获取回/付款单金额明细时需要用到的条件、原单信息pojo
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class AmountDetailGetPojo implements Serializable {
    private static final long serialVersionUID = -7003448816703791019L;

    /**
     * 关联的原始回款单
     */
    private PaasFormDataEntityExt linkSheetEntity;
    /**
     * 原单已红冲的金额
     */
    private double redAmount;

    /**
     * key：红冲回款单的合同id_应收款id
     * value：红冲单据的金额
     */
    private Map<String, Double> redCidPidAmountMap;

    /**
     * 查询应收款的条件
     */
    private List<ConditionsEntityExt> conditionList;
}
